#! /bin/bash
cd /root/pythonInterface/tornaREST-master/handler/api/user 
while true
do
    time1=$(date "+%Y%m%d %H%M%S")
    echo $time1
    fz=${time1:11:2}
    echo $fz
    if (( $fz == "01" ))
    then
        nohup python3 vibrationmonitor_new_jobs.py &
		sleep 900
    fi
    sleep 30
     
done

